package cn.sccdlg.spring5.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author RaoShuang
 * @emil 991207823@qq.com
 * @date 2020/10/22 21:25
 * spring的配置类，相当于bean.xml
 */
@Configuration
@ComponentScan("cn.sccdlg.spring5")
@Import({JdbcConfig.class,TransactionConfig.class})
@PropertySource("jdbcConfig.properties")
@EnableTransactionManagement
public class SpringConfiguration {
}
